Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wont align correctly. always crews up second line: #42

Open
exocode opened this issue Mar 16, 2022 · 1 comment
Open

Wont align correctly. always crews up second line: #42

exocode opened this issue Mar 16, 2022 · 1 comment
Labels
invalid This doesn't seem right question Further information is requested

Comments

@exocode
Copy link

exocode commented Mar 16, 2022

Wont align correctly. It always screws up second line:

try this raw code:

| attribute_was(attr_name)              | attribute_in_database(attr_name)          | current database value of attribute                       |
| attribute_change(attr_name)           | attribute_change_to_be_saved              | the changed value for attribute                           |
| attribute_changed?(attr_name)         | will_save_change_to_attribute?(attr_name) | was attribute modified since last save                    |
|                                       | attribute_before_last_save(attr_name)     | attribute value from before last save changed             |
| changed                               | changed_attribute_names_to_save           |  name of attributes with changed values since last save   |
| changes                               | changes_to_save                           | => the changes to be saved to DB                          |
| changed?                              | has_changes_to_save?                      | are there any changes to be saved to the DB?              |
| changed_attributes                    | attributes_in_database                    | => Hash of attribute names & new unsaved values           |
| changed?                              | has_changes_to_save?                      | record has unsaved changes                                |
|                                       | saved_changes?                            | did last save change record attributes?                   |
|                                       | saved_changes                             | => Hash of all changes in last save                       |
|                                       | saved_change_to_attribute?(attr_name)     | did attribute change when record last saved?              |
|                                       | saved_change_to_attribute(attr_name)      | => array of original & saved value from last save         |

which results in that:


| attribute_was(attr_name)      | attribute_in_database(attr_name)          | current database value of attribute                    |
| a---------------------------) | a---------------------------------------d | t----------------------------------------------------e |
| attribute_changed?(attr_name) | will_save_change_to_attribute?(attr_name) | was attribute modified since last save                 |
|                               | attribute_before_last_save(attr_name)     | attribute value from before last save changed          |
| changed                       | changed_attribute_names_to_save           | name of attributes with changed values since last save |
| changes                       | changes_to_save                           | => the changes to be saved to DB                       |
| changed?                      | has_changes_to_save?                      | are there any changes to be saved to the DB?           |
| changed_attributes            | attributes_in_database                    | => Hash of attribute names & new unsaved values        |
| changed?                      | has_changes_to_save?                      | record has unsaved changes                             |
|                               | saved_changes?                            | did last save change record attributes?                |
|                               | saved_changes                             | => Hash of all changes in last save                    |
|                               | saved_change_to_attribute?(attr_name)     | did attribute change when record last saved?           |
|                               | saved_change_to_attribute(attr_name)      | => array of original & saved value from last save      |

@takumisoft68
Copy link
Owner

takumisoft68 commented Mar 16, 2022

@exocode

You have to follow the table spec of gfm.
2nd line is delimiter row.
Your grammee is not consisting a table correctly.

https://github.github.com/gfm/#tables-extension-

@takumisoft68 takumisoft68 added invalid This doesn't seem right documentation Improvements or additions to documentation help wanted Extra attention is needed and removed documentation Improvements or additions to documentation labels Mar 16, 2022
@takumisoft68 takumisoft68 removed the help wanted Extra attention is needed label Jul 26, 2022
@takumisoft68 takumisoft68 added the question Further information is requested label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants